package com.example.fm;

import org.openqa.selenium.By;

public class NavigationHelper  extends HelperBase{

	public NavigationHelper(ApplicationManager manager) {
		super(manager);
		
	}

	public void returnToPageOfAddingNewContact() {
		click(By.linkText("add new"));
	}

	public void returnToGroupPage() {
		click(By.linkText("group page"));
	}

	public void getContactCreationPage() {
		click(By.linkText("add new"));
	}

	public void goToGroupPage() {
		//open group page
	   click(By.linkText("groups"));
	}

	public void openMainPage() {
		//open main page
		driver.get(manager.baseUrl + "/addressbookv4.1.4/addressbookv4.1.4/");
	}

}
